package com.iexbuy.ihg.entity;

import com.iexbuy.ihg.utils.DateTools;
import com.lidroid.xutils.db.annotation.Id;

/**
 * Created by chenguiban on 15/10/7.
 */
public class SearchHistory {

    @Id
    private int id;
    private String keyword;
    private String cTime;

    public SearchHistory() {

    }

    public SearchHistory(String keyword) {
        this.keyword = keyword;
        this.cTime = DateTools.getCurrentTime();
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getcTime() {
        return cTime;
    }

    public void setcTime(String cTime) {
        this.cTime = cTime;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }
}
